package com.contract.management.bean;

import com.contract.management.domain.Contract;

public class CompanyInfo {
	//受托人
	private String yfWtr;

	//联系地址
	private String yfTxdz;

	//网址
	private String yfWz;

	//电话号码
	private String yfDhhm;
	
	//公司账户
	private String account;
	
	//开户银行
	private String bank;
	
	//银行账号
	private String bankNumber;
	
	//支付宝企业账户
	private String zfbBank;

	public String getYfWtr() {
		return yfWtr;
	}

	public void setYfWtr(String yfWtr) {
		this.yfWtr = yfWtr;
	}

	public String getYfTxdz() {
		return yfTxdz;
	}

	public void setYfTxdz(String yfTxdz) {
		this.yfTxdz = yfTxdz;
	}

	public String getYfWz() {
		return yfWz;
	}

	public void setYfWz(String yfWz) {
		this.yfWz = yfWz;
	}

	public String getYfDhhm() {
		return yfDhhm;
	}

	public void setYfDhhm(String yfDhhm) {
		this.yfDhhm = yfDhhm;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getBankNumber() {
		return bankNumber;
	}

	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}

	public String getZfbBank() {
		return zfbBank;
	}

	public void setZfbBank(String zfbBank) {
		this.zfbBank = zfbBank;
	}
	
	public void copyToContract(Contract c) {
		c.setYfWtr(this.getYfWtr());
		c.setYfTxdz(this.getYfTxdz());
		c.setYfDhhm(this.getYfDhhm());
		c.setAccount(this.getAccount());
		c.setBank(this.getBank());
		c.setBankNumber(this.getBankNumber());
		c.setZfbBank(this.getZfbBank());
	}
}
